package com.ssrs.platform.priv;

import com.ssrs.framework.extend.annotation.ExtendItem;
import com.ssrs.platform.PlatformPlugin;
import com.ssrs.platform.extend.MenuPrivService;

/**
 * 定时任务权限
 *
 * @author ssrs
 */
@ExtendItem(
		plugin = PlatformPlugin.class,
		extendService = MenuPrivService.class,
		description = "定时任务权限"
)
public class ScheduleManagerPriv extends AbstractMenuPriv {

	public static final String MENU_ID = "ScheduleManagerPriv";
	public static final String EDIT = MENU_ID + ".Edit";
	public static final String RUN = MENU_ID + ".Run";

	public ScheduleManagerPriv() {
		super(MENU_ID, "定时任务", null);
		addItem(EDIT, "编辑");
		addItem(RUN, "立即执行");
	}

}
